﻿@import "reset.css";

* {
    box-sizing: border-box;
    font-family: "微软雅黑",sans-serif;
    outline: none;
}

html {
    width: 100vw;
    height: 100vh;
}

body {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0px;
}

header {
    width: 100%;
    height: 50px;
    background-color: deepskyblue;
    text-align: right;
}

    header > div {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        margin-right: 50px;
    }

section {
    width: 100%;
    height: calc(100% - 50px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    section .menu {
        width: 200px;
        height: 100%;
        background-color: rgb(31, 30, 30);
        color: white;
    }

        section .menu > ul {
            width: 100%;
            display: block;
            padding: 10px 0;
        }

        section .menu ul li {
            width: 100%;
            font-size: 1.2rem;
            font-weight: bold;
            padding: 10px 25px;
            cursor: pointer;
            position: relative;
            background-color: rgba(48, 45, 45, 0.84);
            border-radius: 0 10px 10px 0;
            border: 1px solid #808080;
            margin-bottom: 3px;
            margin-left: -2px;
        }

        section .menu > ul .checked:before {
            content: "";
            display: block;
            width: 10px;
            height: 10px;
            position: absolute;
            left: 5px;
            border-radius: 50%;
            background-color: lawngreen;
            top: calc(50% - 5px);
        }

        section .menu > ul > li:hover {
            background-color: rgba(102, 100, 100, 0.83);
        }

    section .content {
        flex-grow: 1;
        height: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
    }

        section .content .top-statebox {
            width: 100%;
            height: 30px;
            background-color: cadetblue;
        }

        section .content .view {
            flex-grow: 1;
            overflow: hidden;
            width: 100%;
            position: relative;
        }

            section .content .view .panel {
                width: 100%;
                height: 100%;
                overflow: hidden;
                position: absolute;
                left: 0;
                top: 0;
                background-color: white;
            }


#input-par {
    margin: 0 10px;
    padding: 5px 3px;
    border-radius: 5px;
    width: 160px;
    border: 1px solid #666;
}

#panel-gdmmt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

    #panel-gdmmt .top {
        flex-grow: 1;
        height: 10%;
        width: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    #panel-gdmmt .btm {
        flex-grow: 3;
        width: 100%;
        height: 90%;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

        #panel-gdmmt .btm .page {
            width: 100%;
            flex-grow: 1;
            border: 1px solid #ccc;
            overflow-y:scroll;
        }

        #panel-gdmmt .btm .pageOper {
            width: 100%;
            height: 50px;
            background-color:rgb(22,24,28);
        }
            #panel-gdmmt .btm .pageOper .oper{
                color:white;
                justify-content:space-around;
            }
                #panel-gdmmt .btm .pageOper .oper > span{
                    display:inline-block;
                    margin: 0 5px;
                }
                #panel-gdmmt .btm .pageOper .oper button{
                    width:auto;
                    height:auto;
                    padding:2px 3px;
                    box-sizing:unset;
                    border-radius:3px;
                }
                #qres td button:first-child {
                    background-color: dodgerblue;
                }

table {
    table-layout: fixed;
    border: 1px solid rgb(84, 146, 188);
}

    table tr,
    table td,
    table th {
        border: 1px solid rgb(84, 146, 188);
        padding: 5px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        color: #333;
        font-family: "微软雅黑",sans-serif;
    }

    table th {
        background-color: rgb(120, 204, 230);
        color: white;
    }

    table button {
        width: 50px;
        color: white;
        padding: 5px;
        border-radius: 3px;
        cursor: pointer;
        border-style: none;
    }

#qres {
    width: 100%;
}

    #qres td button:last-child {
        background-color: red;
    }

    #qres td button:first-child:hover {
        background-color: deepskyblue;
    }

    #qres td button:last-child:hover {
        background-color: orangered;
    }

#ifrbox {
    width: 40%;
    height: 90%;
    position: relative;
}

#ifr-gd {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    background-color: white;
}
